package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.TestQuestion;

import java.util.List;

public interface TestQuestionApi {
    void save(TestQuestion question);

    List<TestQuestion> findAll();

    //根据id查询试卷
    List<TestQuestion> findByPaperId(Integer type);

}
